home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
LCLINT-D.SPK
/
lclint
/
guide
/
fig7-out
< prev
next >
Wrap
Text File
|
1996-08-26
|
922b
|
19 lines
LCLint 2.2 --- 25 Aug 96
stack.c: (in function f)
<A HREF="stack.c.html#line12" target="source">stack.c:12,10</A>: Stack-allocated storage &loc reachable
from return value: &loc
A stack reference is pointed to by an external
reference when the function returns. The
stack-allocated storage is destroyed after the call,
leaving a dangling reference. (-stackref will
suppress message)
<A HREF="stack.c.html#line12" target="source">stack.c:12,15</A>: Stack-allocated storage *x reachable
from parameter x
<A HREF="stack.c.html#line10" target="source">stack.c:10,3</A>: Storage *x becomes stack
<A HREF="stack.c.html#line12" target="source">stack.c:12,15</A>: Stack-allocated storage glob reachable
from global glob
<A HREF="stack.c.html#line9" target="source">stack.c:9,3</A>: Storage glob becomes stack
Finished LCLint checking --- 3 code errors found